﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Security.Cryptography;
using System.Text;

namespace Enterprise.ClientWeb
{
    public partial class Cal : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //Response.Write(getSHA1("middagsfrid&DKK&E383E5414729EA2F8C5EC0FEDBE1CA2839298230&"));
           
        }

        public string getSHA1(string text)
        {
            return BitConverter.ToString(SHA1Managed.Create().ComputeHash(Encoding.Default.GetBytes(text))).Replace("-", "");
        }
    }
}
